package work2.phone;
/**
 *
 *用户消费信息类 特征：统计通话时长、统计上网流量、每月消费金额
 *
 * */
public class UserInfo {
    private int allCallTime;
    private int allInternet;
    private int fee;

    public int getAllCallTime() {
        return allCallTime;
    }

    public void setAllCallTime(int allCallTime) {
        this.allCallTime = allCallTime;
    }

    public int getAllInternet() {
        return allInternet;
    }

    public void setAllInternet(int allInternet) {
        this.allInternet = allInternet;
    }

    public int getFee() {
        return fee;
    }

    public void setFee(int fee) {
        this.fee = fee;
    }
    public void showAllCallTime(){
        System.out.println("通话总时长:" + allCallTime);
    }
    public void showAllInternet(){
        System.out.println("上网总流量:" + allInternet);
    }
    public void showFee(){
        System.out.println("月消费:" + fee);
    }
}
